<link href="../css/style.css" rel="stylesheet" type="text/css" />
<%@ taglib prefix="s" uri="/struts-tags"%>

<script type="text/javascript" src="../js/jquery-1.2.3.js"></script>
<link rel="stylesheet" href="../css/jquery.countdown.css"
	type="text/css"></link>
<script type="text/javascript" src="../js/jquery.countdown.js"></script>

<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<s:form name="frmitem" method="post" action="">
	<table border="0" cellspacing="0" cellpadding="0">
		<tr>
			<s:if test="compareItemList !=null">
				<s:iterator value="compareItemList" status="rowStatus">
					<td align="left" valign="top">
						<table border="0" cellpadding="0" cellspacing="1" width="150px">
							<tr>
								<td width="0" height="0" align="center" nowrap="nowrap"
									class="grid-bg  grid-body-text">
									<s:property value="itemId" />
								</td>
							</tr>
							<tr>
								<td width="0" height="59" align="center" nowrap="nowrap"
									class="grid-bg grid-body-text">
									<img src="images/no_image.gif" alt=""
										style="border: 1px solid rgb(66, 100, 168);" height="45"
										width="45" />
								</td>
							</tr>
							<tr>
								<td width="0" height="0" valign="top"
									class="grid-bg  grid-body-text">
									<a href="#"><b><font color="#000000"> <s:property
													value="title" /> </font> </b> </a>
									<img src="images/featured.gif" title="Featured" border="0" />
									<img src="images/buyitnow.gif" title="Buy Now" border="0" />
								</td>
							</tr>
							<tr>
								<td width="0" height="0" class="grid-bg  grid-body-text">
									<s:property value="title" />
								</td>
							</tr>
							<tr>
								<s:set value="%{endTime}" var="endDate" />
								<s:hidden name="enddate" id="%{'enddate' + #rowStatus.index}"
									value="%{endTime}" />
								<td width="0" height="0"
									class="<s:property value="%{'counterdis' + #rowStatus.index}"/>">
									<script type="text/javascript">
									$('.<s:property value="%{'counterdis' + #rowStatus.index}"/>').countdown(
								     	{until: new Date(1900 + <s:property value="%{#endDate.year}" />, <s:property value="%{#endDate.month}" />, <s:property value="%{#endDate.date}" />, <s:property value="%{#endDate.hours}" />), compact: false}
									);
							</script>
								</td>

							</tr>
							<tr>
								<td width="0" height="0" class="grid-bg  grid-body-text">
									<s:property value="bids" />
								</td>
							</tr>
							<tr>
								<td width="0" height="0" class="grid-bg  grid-body-text">
									<s:property value="userId.userId" />
								</td>
							</tr>
							<tr>
								<td width="0" height="0" class="grid-bg  grid-body-text">
									€€ 500,00
								</td>
							</tr>
							<tr>
								<td width="0" height="0" class="grid-bg  grid-body-text">
									€€
									<s:property value="shipSum" />
								</td>
							</tr>
							<tr>
								<td width="0" height="0" class="grid-bg  grid-body-text">
									<s:property value="locationCategoriesByCountry.categoryName" />
								</td>
							</tr>
							<tr>
								<td width="0" height="0" class="grid-bg  grid-body-text">
									<s:property value="paymentMethods" />
								</td>
							</tr>
							<tr>
								<td width="0" height="0" class="grid-bg  grid-body-text">
									€
									<s:property value="buyPrice" />
								</td>
							</tr>
							<tr>
								<td width="0" height="0" class="grid-bg  grid-body-text">
									&nbsp;
									<!--User_High_Bidder-->
								</td>
							</tr>
							<tr>
								<td width="0" height="0" class="grid-bg  grid-body-text">
									<s:property value="locationCategoriesByRegion.categoryName" />
								</td>
							</tr>
							<tr>
								<td width="0" height="0" class="grid-bg  grid-body-text">
									<s:property value="locationCategoriesByCountry.categoryName" />
								</td>
							</tr>
						</table>
					</td>
				</s:iterator>
			</s:if>
		</tr>
	</table>
</s:form>

